package com.special.ResideMenuDemo;

import android.app.Activity;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;

import pot.TextListAdapter;

public class PotActivity extends Activity {
    private RecyclerView mRvTextList;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_pot);

        getActionBar().setTitle("盆友圈");

        mRvTextList= (RecyclerView) findViewById(R.id.rv_text_list);
        mRvTextList.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.VERTICAL, false));
        mRvTextList.setAdapter(new TextListAdapter(this));
    }
}
